home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 4_0 / LIFER__ / PROTO / U / LIFE_ALE.H < prev    next >
Text File  |  1991-07-23  |  877b  |  30 lines

  1. /* Life_Alert */
  2.  
  3. /* File name: Life_Alert */
  4. /* Function: Handle an alert */
  5. /* History: 7/23/91 Original by Prototyper 3.0   */
  6.  
  7.  
  8.  
  9. /* ======================================================= */
  10.  
  11. /* This routine is called at program startup to allow setting of any special */
  12. /* items for the alert */
  13. void A_Init_Life_Alert(void);
  14.  
  15. /* This routine is called while inside of the Alert filter */
  16. /* theDialog is the dialog(alert) pointer */
  17. /* theEvent is the event that we are to see if we should filter */
  18. /* itemHit is the item we set if we handle the event ourselves */
  19. Boolean Filter_Life_Alert(DialogPtr theDialog, EventRecord *theEvent, short *itemHit);
  20.  
  21. /* This routine is called after the alert has been responded to */
  22. /* itemHit is the item that was selected */
  23. void A_Hit_Life_Alert(short itemHit);
  24.  
  25.  
  26. /* ======================================================= */
  27.  
  28.  
  29.  
  30.